package com.qfedu.boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @BelongsProject: 用户优惠卷
 * @BelongsPackage: com.qfedu.entity
 * @Author: yanshijie
 * @CreateTime: 2022-12-19  15:12
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_coupon")
public class UserCoupon {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 优惠卷id
     */
    private Integer couponId;
    /**
     * 创建时间
     */
    private Date createTime;
}
